<h:inputText  value="${value}">
  <f:validateLongRange minimum = "0" maximum = "65535"/>
</h:inputText>
